<?php
use yii\helpers\Html;
use \backend\controllers\DtActionFilter;
$project_id = Yii::$app->request->get("project_id");

if (!empty($project_id)){
    $isView = DtActionFilter::checkProject('project_edit',$project_id);
}else{
    $isView=true;
    return '无用户id';
}
?>
<div class="diYaRenJiDiYaWu tableWZ" id="diYa">
	<div class="container containerShadow diyawoW">
	    <div class="tab-content">
	        <div class="tab-pane active" id="tab1">
	            <div class="centerText clearfix top30">
	                <span class="pull-left ">1.抵押物信息</span>
	                <div>
	                    <a href="###" class="pull-right">
                            <?php
                            $ppesidW = !empty($ppesid)?$ppesid:0;
                            if ($isView){
                                echo Html::img("/image/projectDetails/edit.png",["id"=>"getInfo1","data-val"=>1,'data-ppesid'=>$ppesidW]);
                            }
                            ?>
	                    </a>
	                </div>
	            </div>
	            <?=
	             $this->render('./mortgage_table/mortgage-info1',['mortgageInfoTable'=>$mortgageInfoTable,'ppseid'=>$ppesidW]);
	            ?>
	            <div id="info1"></div>
	            <div class="centerText clearfix top30">
	                <span class="pull-left ">2.抵押情况</span>
	                <div>
	                    <a href="###" class="pull-right">
                            <?php
                            if ($isView){
                                echo Html::img("/image/projectDetails/edit.png",["id"=>"getState2","data-val"=>2,'data-ppesid'=>$ppesidW]);
                            }
                            ?>
	                    </a>
	                </div>
	            </div>
	            <?=
	            $this->render('./mortgage_table/mortgage-state2',['mortgageStateTable'=>$mortgageStateTable,'ppseid'=>$ppesidW]);
	            ?>
	            <div id="state2"></div>
	            <div class="centerText clearfix top30">
	                <span class="pull-left ">3.查封情况</span>
	                <div>
	                    <a href="###" class="pull-right">
                            <?php
                            if ($isView){
                                echo Html::img("/image/projectDetails/edit.png",["class"=>"editImg","id"=>"getSeal3","data-val"=>3,'data-ppesid'=>$ppesidW]);
                            }
                            ?>
	                    </a>
	                </div>
	            </div>
	            <?=
	            $this->render('./mortgage_table/seal-state3',['SealStateTable'=>$SealStateTable,'ppseid'=>$ppesidW]);
	            ?>
	            <div id="seal3"></div>
	            <div class="centerText clearfix top30">
	                <span class="pull-left ">4.现场访谈</span>
	                <div>
	                    <a href="###" class="pull-right">
                            <?php
                            if ($isView){
                                echo Html::img("/image/projectDetails/edit.png",["class"=>"editImg","id"=>"getInterview4","data-val"=>4,'data-ppesid'=>$ppesidW]);
                            }
                            ?>
	                    </a>
	                </div>
	            </div>
	            <?=
	            $this->render('./mortgage_table/interview4',['InterviewTable'=>$InterviewTable,'ppseid'=>$ppesidW]);
	            ?>
	            <div id="fangtan4"></div>
	            <div class="centerText clearfix top30">
	                <span class="pull-left ">5.定价评估</span>
	                <div>
	                    <a href="###" class="pull-right">
                            <?php
                            if ($isView){
                                echo Html::img("/image/projectDetails/edit.png",["class"=>"editImg","id"=>"getPingGu5","data-val"=>5,'data-ppesid'=>$ppesidW]);
                            }
                            ?>
	                    </a>
	                </div>
	            </div>
	            <?=
	                $this->render('./mortgage_table/pinggu5',['EvaluationTable'=>$EvaluationTable,'ppseid'=>$ppesidW]);
	            ?>
	            <div id="pinggu5"></div>
	        </div>
	    </div>
	</div>
</div>
